ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct2D Namespace / Mesh Class / Create Method / Create(RenderTarget,Triangle[]) Method
an instance of RenderTarget
An array of Triangle structures that describe the triangles to add to this mesh.

In This Topic
    Create(RenderTarget,Triangle[]) Method
    In This Topic
    Create a mesh that uses triangles to describe a shape and populates it with triangles.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal triangles() As Triangle _
    ) As Mesh
    public static Mesh Create( 
       RenderTarget renderTarget,
       Triangle[] triangles
    )

    Parameters

    renderTarget
    an instance of RenderTarget
    triangles
    An array of Triangle structures that describe the triangles to add to this mesh.
    See Also